package com.ruoyi.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工艺建模对象 mes_process_model
 * 
 * @author ruoyi
 * @date 2024-11-01
 */
public class MesProcessModel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 物料档案编号 */
    private Long materialId;

    /** 工艺名称 */
    @Excel(name = "工艺名称")
    private String processName;

    /** 工艺描述 */
    private String description;

    /** 单位耗电量 */
    @Excel(name = "单位耗电量")
    private Long powerConsume;
    private  String name;
    private  String model;
    private  String specification;
    private  String unit;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    /** 物料档案信息 */
    private List<WmsMaterialInfo> wmsMaterialInfoList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMaterialId(Long materialId) 
    {
        this.materialId = materialId;
    }

    public Long getMaterialId() 
    {
        return materialId;
    }
    public void setProcessName(String processName) 
    {
        this.processName = processName;
    }

    public String getProcessName() 
    {
        return processName;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setPowerConsume(Long powerConsume) 
    {
        this.powerConsume = powerConsume;
    }

    public Long getPowerConsume() 
    {
        return powerConsume;
    }

    public List<WmsMaterialInfo> getWmsMaterialInfoList()
    {
        return wmsMaterialInfoList;
    }

    public void setWmsMaterialInfoList(List<WmsMaterialInfo> wmsMaterialInfoList)
    {
        this.wmsMaterialInfoList = wmsMaterialInfoList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("materialId", getMaterialId())
            .append("processName", getProcessName())
            .append("description", getDescription())
            .append("powerConsume", getPowerConsume())
            .append("remark", getRemark())
            .append("wmsMaterialInfoList", getWmsMaterialInfoList())
                .append("name",getName())
                .append("model",getModel())
                .append("Specification",getSpecification())
                .append("unit",getUnit())
            .toString();
    }
}
